Part Number Hot Search : 
IDTQS 2N30P 2SK614 1A66B TK15406M ST62P25C MAX5161 2SK614
Product Description
Full Text Search
 

To Download ATSTK503 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 table of contents table of contents .............................................................................1 stk503 user guide .....................................................................................................2 introduction ...............................................................................................................2 features ............................................................................................................................... ........2 known issues .......................................................................................................................3 getting started ....................................................................................................................4 hardware overview ............................................................................................................................... 4 mounting the stk503 ..........................................................................................................................5 placing the avr in the zif socket ......................................................................................................5 programming the avr ....................................................................................................7 in-system programming (isp) ............................................................................................................7 high-voltage parallel programming (hvpp) ....................................................................................8 jtag programming ...................................................................................................................9 stk503 clock sources ................................................................................................10 the xtal switch ............................................................................................................................... ..10 the tosc switch ............................................................................................................................... .11 the external memory interface ...............................................................................11 sram footprint ............................................................................................................................... .....11 address latch ............................................................................................................................... ........12 high address jumpers ........................................................................................................................12 rs-232 driver ....................................................................................................................13 debugging with jtagice mkii ...............................................................................14 connecting the jtagice ..................................................................................................................14 troubleshooting guide .................................................................................................15 programming problems ......................................................................................................................15 general problems .....................................................................................................................15 problem ............................................................................................................................... ........15 appendix ............................................................................................................................... 16 port connectors ............................................................................................................................... ...16 sram ............................................................................................................................... ....................16 schematic and layout ..............................................................................................................17
2 stk503 user guide introduction stk503 is a top module to the stk500 development board from atmel corporation. it adds support for 100-pin avr microcontrollers (atmega2560, atmega1280 and atmega640). stk503 includes connectors and hardware allo wing full utilization of the features of these devices, while the zero insertion force (zif) socket makes it easy to use tqfp packages for prototyping. this user guide is a general getting started guide as well as a complete technical reference for advanced users. figure 1-1 the stk503 starter kit features ? supports the atmega2560, atmega1280 and atmega640. ? zero insertion force (zif) socket for 100-pin tqfp packages ? supports high voltage parallel programming through stk500 ? supports serial programming through stk500 ? port connectors for port e, f g, h, j, k and l ? on-board rs-232 converter covering the whole operation range from 1.8 to 5.5v ? footprint for user-mountable sram chip ? on-board address latch for easy connection to memory and peripherals ? jtag connector for on-chip debugging using jtagice mkii ? on-board 32 khz crystal for easy real time clock implementations ? supported by avr studio 4
3 known issues january 2005: there are no known issues.
4 getting started in this chapter you will get an overview of all the features of the stk503. you will learn how to use the stk503 with stk 500 and how to mount the avr in the zif socket. hardware overview the stk503 is a flexible tool to start developing and debugging applications for 100-pin avrs as the atmega2560. there are connectors for all available signals, making it easy to connect to your own hardware, if required. figure 3-1: stk503 zif socket: here you place the avr. see placing the avr for more details. jtag connector: this is the connection that lets you upload and debug your application with the jtagice mk ii. see jtag programming and jtag debugging . isp connector: by mounting a cable between this connector and the programming connector on stk500, you can easily upload new programs to the avr. see in-system programming for a description on how to use avr studio and how connect the cable. clock source switches: the stk503 has two switches that lets you select between different on- board and external clock sources. this is described in the clock options chapter. sram footprint: the board has a footprint for an sram chip. no sram is mounted, so you can select an sram with the ri ght operating voltage. for more information on using the sram and it connection, see the external memory interface chapter.
5 ram high address jumpers: these jumpers are for disabling some of the address lines from the controller to the sram. see the external memory interface chapter. rs-232 connector: the stk503 has an on-board rs-232 converter. in order to use it, you must connect the avr to the avr side of the connector, and the external rs-232 equipment (such as a pc) to the rs-232 side. see rs-232 driver for more information. portx connectors: all of the avr ports are accessible on the port connectors. they are marked with text corresponding to the name of the avr port. in addition to the port pins, they also have vcc and gnd pins. see the appendix for pinout. mounting the stk503 first of all the stk503 must be mount on top of the stk500. 1. turn off power on the stk500. 2. remove any other top cards. 3. remove any devices from sockets of the stk500. 4. place the stk503 on stk500. make sure the expand0 and expand1 headers on both cards align properly. figure 3-2: mounting the stk503 placing the avr in the zif socket the zif socket on stk503 takes avrs in 100-pin tqfp packages. to use stk500 and 100-pin avr devices with lcd controller such as the atmega3290 and atmega6490, you must use the stk504 top module, not
6 stk503. 1. make sure the stk500 power is switched off. 2. make sure that the stk503 is properly mounted on stk500. (see mounting the stk503 for details.) 3. place the avr in the zif socket. pay attention to the pin 1 marking on the device and on the zif socket and pcb. figure 3-3: placing the avr in the zif socket.
7 programming the avr the avr on stk503 can be programmed in four different ways: 1. in-system programming (isp) 2. high-voltage parallel programming (hvpp) 3. jtag programming 4. self programming self programming in not described in this document. please consult the specific avr's datasheet. in-system programming (isp) in order to isp program an avr, it must have the isp programming enable fuse set. this fuse can be set by high-voltage parallel programming or jtag programming . figure 4-1: isp programming the avr to isp program an avr on stk503, do the following: 1. turn off power on stk500. 2. connect the 6-pin cable between the isp6pin connector on stk500 and the isp connector on stk503. 3. turn on power on stk500. 4. connect a serial cable to the rs232 ctrl connector on stk500 and your pc. 5. start avr studio. on the tools menu, select "program avr/ connect..." the device is now ready to be programmed. for more information on how to use the programming dialog, see the frontend software section in the stk500 user
8 guide. high-voltage parallel programming (hvpp) hvpp programming is always available. the other programming modes, isp and jtag programming, can be disabled. wi th hvpp, the other programming modes can be enabled. hvpp requires the target voltage to be set to 5v. if you have any external hardware connected to stk500/stk503 that does not tolerate 5v, it must be disconnected before you hvpp program the avr. figure 4-2: hvpp programming the avr to hvpp program the avr on stk 503, follow these steps: 1. turn off power on stk500. 2. disconnect any hardware that does not tolerate 5v. 3. connect the progctrl connector to portd and progdata to portb on the stk500 as show in the figure below. 4. set jumpers and switches according to table 4-1. 5. connect a serial cable to the rs232 ctrl connector on stk500 and your pc. 6. turn on power on stk500. 7. start avr studio. on the tools menu, select "program avr/ connect..." 8. on the board tab, make sure the vtarget slider shows 5v. if not, adjust it and press write voltages . you are now ready to program the device. for more information on how to use the programming dialog, see the frontend software section in the stk500 user guide.
9 table 4-1: high-voltage programming jumper settings stk500 vtarget mounted aref optional reset mounted xtal1 mounted oscsel mounted, pin 1 and 2 bsel2 mounted pjump open stk503 xtal switch position near crystal socket tosc switch not important jtag programming the jtagice mkii can, in adittion to help debug your code, be used as a programmer. in order to jtag program an avr, its ocd enable fuse must be set. the fuse can be set by isp or hvpp programming. figure 4-3: jtag programming the avr follow these steps to jtag program the avr: 1. turn off power on stk500. 2. connect the jtagice mkii probe to the jtag connector on stk503. 3. remove the reset jumper on stk500. 4. connect a serial cable or a usb cable beetween the jtagice mkii and your pc. 5. turn on power on stk500.
10 6. start avr studio. on the tools menu, select "program avr/ connect..." you are now ready to program the device. for more information on how to use the programming dialog, see the frontend software section in the stk500 user guide. stk503 clock sources the atmega2560 and its like have two clock inputs; xtal and tosc. two switches on the stk503 selects what is connected to these two inputs. figure 5-1: the clock selection switches xtal and tosc the xtal switch a clock source connected to the xtal clock input is used to drive the internal chip clock. the source can be a crystal, a resonator or an external clock signal. the xtal switch sitting on stk503 selects what is connected to the xtal pins. stk500 can supply two different clock signals: ? stk500 can generate a software controlled signal with a maximum frequency of 3.69mhz ? a crystal can be placed in the crystal socket. you select between these two sources with the oscsel jumper. this signal is available on stk503. the stk503 also has a socket for a crystal. this socket should be used instead of the one on stk500, at least for high-frequency crystals (>8mhz). the xtal switch selects what signal is routed to the xtal pin on the avr: ? the stk500 supplied clock (set the switch to the position indicated by the text stk500 ) ? the crystal socket on stk503 (set the switch to the position nearest the crystal socket)
11 the tosc switch the tosc inputs can be configured as normal i/o pins, or as input pins for a low-frequency oscillator that can clock the asynchronous timer. the stk503 has a 32khz crystal that can be connected to these pins. the tosc switch selects what is c onnected to the tosc pins on the avr: ? normal port pins - the tosc pins are connected to the portg connector (set the switch to the position indicated by the text portg ) ? 32khz crystal (set the switch to the position nearest the 32khz crystal) the external memory interface the avrs supported by stk503 can access external memories or peripherals through its external memory interface . this interface consist of porta (multiplexed data and address low byte), portc (address high byte), and portg[2:0] (rd, wr and ale). sram footprint stk503 has a footprint where an sram chip can be mounted. the footprint takes 128kx8 soj and tsop packages. figure 6-1: the sram footprint. the arrow shows pin 1.
12 only sram chips with center power pins can be used. see the appendix for details. address latch the data bus and the low byte of the addr ess bus is multiplexed on porta. the ale signal indicates when the address is present. this low byte must be stored by a latch until the memory access cycle is completed. the stk503's a latch is connected to the ale signal. the latched low byte of the address is routed to the sram footprint, and is also accessible on the connector marked a[7:0]. high address jumpers some or all of the highest eight address pins on the external memory interface can be disabled and used as general i/o. this feature is supported on stk503 by mounting the appropriate ram high address jumpers. the lines which are disconnected from the sram footprint are pu lled low so the address lines of the sram isn't floating.
13 rs-232 driver the stk503 has an rs-232 driver operating at target voltages from 1.8 to 5.5v with a maximum speed of 480kbps. there are two transmit and two receive pins. with the rs-232 port available on stk500, you have three channels available for your design. the driver pins are available on the connec tor in the lower right corner of the stk503 (see figure 7-1 and 7-2). figure 7-1: the rs-232 connector to use the driver you must connect the logic level pins to the avr and the rs- 232 pins to the external device. the connector is marked with avr and rs-232 , where the pins on the avr side must be connected to the rxd and txd pins on the avr, and rs-232 side connects to a connector or your rs-232-enabled device. the arrows show the signal directions. figure 7-2: rs-232 connection as the stk503 has no 9-pin or 25-pin connector, you must make your own connection. you can however decide if you will use only txd/rxd lines, giving you two channels, or if handshake signals like rts/cts or dtr/dsr will be used. in the latter case, you must connect the handshake signals to regular port pins that are controlled by software.
14 debugging with jtagice mkii atmel's jtagice mkii can debug avrs that supports the jtag or the debugwire debugger interface. connecting the jtagice figure 8-1: connecting the jtagice to stk503 connect the jtagice probe to the jtag connector as show in the figure above. to be able to use this interface for debugging, you must also remove the reset jumper from stk500.
15 troubleshooting guide programming problems problem cause solution isp programming does not work isp cable is not connected connect a 6-pin cable between the isp6pin connector on stk500 and the isp connector on stk503. see also programming the avr. isp programming does not work the isp clock is to fast if the avr is running at a low clock frequency. make sure the clock switch on stk503 is in the right position. in the board page of the programming dialog in avr studio, try reducing the isp clock frequency. high-voltage programming does not work. the 10-pin cables are not connected correctly. see the programming the avr chapter for setup. high-voltage programming does not work. the bsel2, oscsel, reset and vtarget jumpers on stk500 are not set right. see the programming the avr chapter for setup. high-voltage programming does not work. the stk504 clock switch is in the wrong position. set the switch to the stk500 position. see also programming the avr. general problems problem cause solution some of the port pins are not working . the avr is not properly mounted in the zif socket. make sure the chip is properly aligned in the socket. when the spring-loaded latch is depressed, the chip should fit nicely into the bottom of the socket. the code isn't running. the avr has no/wrong clock source. according to the clock fuse setting, select the appropriate clock source on stk500 and stk503. check the oscsel jumper on stk500 and clock switch on stk503. if you are using a crystal in one of the sockets, check that it is firmly mounted in its socket. the avr will not run on x mhz, but works ok on lower frequencies. the clock frequency is exceeding the clock rate of the avr (at a certain operating voltage). check that you are running the avr within specifications. check the speed grade of the avr and consult the datasheet for operating frequencies and voltages. the avr will not run on x mhz, but works ok on lower frequencies. i have a x mhz crystal mounted on stk500 crystals should be placed in the crystal socket on stk503. place the crystal in the socket on stk503. set the clock switch to the position closest to the crystal socket..
16 appendix port connectors the stk503 has seven port connectors in addition to those available on stk500. these are porte, portf, portg, porth, portj, portk and portl. the pinout of each connector is described below. table a-1: stk503 port connectors pinout porte pe0 1 2 pe1 pe2 3 4 pe3 pe4 5 6 pe5 pe6 7 8 pe7 gnd 9 10 vtg portf pf0 1 2 pf1 pf2 3 4 pf3 pf4 5 6 pf5 pf6 7 8 pf7 gnd 9 10 vtg portg pg0 1 2 pg1 pg2 3 4 pg3 pg4 5 6 pg5 sramen 7 8 a16 gnd 9 10 vtg porth ph0 1 2 ph1 ph2 3 4 ph3 ph4 5 6 ph5 ph6 7 8 ph7 gnd 9 10 vtg portj pj0 1 2 pj1 pj2 3 4 pj3 pj4 5 6 pj5 pj6 7 8 pj7 gnd 9 10 vtg portk pk0 1 2 pk1 pk2 3 4 pk3 pk4 5 6 pk5 pk6 7 8 pk7 gnd 9 10 vtg portl pl0 1 2 pl1 pl2 3 4 pl3 pl4 5 6 pl5 pl6 7 8 pl7 gnd 9 10 vtg sram the following sram chips can be used on stk503: manufacturer part number vcc package issi is63lv1024-t 3,3v tsop-ii issi is63lv1024-j 3,3v soj 300-mil issi is63lv1024-k 3,3v soj 400-mil idt idt71124-y 5v soj 400-mil idt idt71v124sa-ty 3,3v soj 300-mil idt idt71v124sa-y 3,3v soj 400-mil idt idt71v124sa-ph 3,3v tsop-ii cypress cy7c1019-v 5v soj 400-mil cypress cy7c1019b-v 5v soj 400-mil cypress cy7c1018bv33-v 3,3v soj 300-mil cypress cy7c1019bv33-v 3,3v soj 400-mil toshiba tc558128bj 5v soj 400-mil toshiba tc558128bft 5v tsop-ii toshiba tc55v8128bj 3,3v soj 400-mil toshiba tc55v8128bft 3,3v tsop-ii samsung k6r1008c1c-j 5v soj 400-mil samsung k6r1008c1c-t 5v tsop-ii alliance as7c31025a-hfc 5v tsop-ii
17 schematic and layout stk503 schematic: stk503.pdf stk503 component placement: stk503_asm.pdf disclaimer: the information in this document is provided in connection with atmel products. no license, expre ss or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of atmel products. except as set forth in atmel?s terms and conditions of sale located on atmel?s web site, atmel assumes no liability whatsoever and disclaims any express, implied or statutory warranty relating to its products including, but not limited to, the implied warranty of merchantability, fitness for a particular purpose, or non-infringement. in no event shall atmel be liabl e for any direct, indirect, consequential, punitive, special or incidental dam ages (including, without limitation, damages for lo ss of profits, business interruption, or loss of information) arising out of the use or inability to use this document, even if atmel has been advised of th e possibility of such damages. atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to ma ke changes to specifications and p roduct descriptions at any time without notice. atmel does not make any commitment to update the information contained herein. unless specifically provided otherwise, atmel pr oducts are not suitable for, and shall not be used in, automotive applications. atmel? s products are not intended, authorized, or warranted for use as components in applicati ons intended to support or sustain life. ? atmel corporation 2006. all rights reserved . atmel?, logo and combinations t hereof, everywhere you are?, avr?, avr studio? and others, are the registered trademarks or tradem arks of atmel corporation or its subsidiaries. other terms and product names may be trademarks of others.


▲Up To Search▲   

 
Price & Availability of ATSTK503

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X